﻿ <%@ Page Language="C#"   AutoEventWireup="true" CodeBehind="ACM_Edit_Inbox.aspx.cs" Inherits="KPIS.GERP.GAMS.APP.App_UI.Forms.ACM_Edit_Inbox" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register src="../UserControls/DatePicker.ascx" tagname="DatePicker" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Edit dialog</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <script type="text/javascript">
            function CloseAndRebind(args) {
                GetRadWindow().BrowserWindow.refreshGrid(args);
                GetRadWindow().close();
            }

            function GetRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)

                return oWindow;
            }

            function CancelEdit() {
                GetRadWindow().close();
            }
        </script>
        <asp:ScriptManager ID="ScriptManager2" runat="server" />
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server"  DecoratedControls="All"  />
        <br />
        <br />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Panel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

         <asp:Panel ID="Panel1" runat="server">
        <div class="DivControl" style="color: #FFFFFF; font-size: large; font-weight: bold;">
            &nbsp;&nbsp;&nbsp;&nbsp;รายการบัญชีขั้นต้น
        </div>
        <div class="DivBody">
            <table>
                <tr>
                    
                   <td  width="200px">
                         <asp:Label ID="Label2" runat="server"  Font-Bold="true" text=" รหัสรายการ :" /> 
                    </td>  
                    <td width="200px">
                      <asp:Label ID="asset_id" runat="server"  Font-Bold="true" CssClass="formInput"></asp:Label> 
                    </td> 
                </tr>
               <tr>
                  <td  width="200px">
                         <asp:Label ID="Label1" runat="server"  Font-Bold="true" text=" ชื่อรายการ :" /> 
                    </td> 
                     <td width="400px">
                         <asp:Label ID="assetname" runat="server" CssClass="formInput"></asp:Label>

                     </td>    
               </tr>
                <tr>
                    <td  width="200px">
                         <asp:Label ID="Label3" runat="server"  Font-Bold="true" text="วันที่เริ่มต้นคิดค่าเสื่อม :" /> 
                    </td> 
                  
                    <td width="400px">
                         <asp:TextBox ID="StratDateCalTax" runat="server" CssClass="formInput"></asp:TextBox>

                     </td> 
                     <td  width="200px">
                         <asp:Label ID="Label4" runat="server"  Font-Bold="true" text=" วันที่เริ่มต้นคำนวณ :" /> 
                    </td>
                   <td width="400px">
                         <asp:TextBox ID="UpdateCalTax" runat="server" CssClass="formInput"></asp:TextBox>

                     </td> 
                    </tr>
                <tr>
                    
                     <td  width="200px">
                         <asp:Label ID="Label6" runat="server"  Font-Bold="true" text="  วันที่สิ้นสุดการคำนวณ :" /> 
                    </td>
                   
                     <td> <asp:TextBox ID="EndDate" runat="server" CssClass="formInput"></asp:TextBox></td>  
                    <td  width="200px">
                         <asp:Label ID="Label5" runat="server"  Font-Bold="true" text=" ราคาซื้อ :" /> 
                    </td>
                     <td> <asp:TextBox ID="Price" runat="server" CssClass="formInput"></asp:TextBox></td>   
                    </tr>
                 
                 <tr>
                   
                     <td style="white-space: nowrap;">
                        <asp:Label ID="Label10" runat="server"  Font-Bold="true" text=" ค่าเสื่อมต่อวัน :" /> 
                         </td>
                     <td><asp:TextBox ID="DPDate" runat="server" CssClass="formInput"></asp:TextBox></td>  
                     <td style="white-space: nowrap;">
                      <asp:Label ID="Label11" runat="server"  Font-Bold="true" text=" วันที่ปัจจุบัน :" /> 
                         </td>
                     <td><asp:TextBox ID="DateTimeNow" runat="server" CssClass="formInput"></asp:TextBox></td>        
               </tr>
                 <tr>
                   <td style="white-space: nowrap;">
                         <asp:Label ID="Label12" runat="server"  Font-Bold="true" text=" Book Value :" /> 
                         </td>
                     <td><asp:TextBox ID="BookValue" runat="server" CssClass="formInput"></asp:TextBox></td>    
                      <td style="white-space: nowrap;">
                       <asp:Label ID="Label13" runat="server"  Font-Bold="true" text=" ค่าเสื่อมสะสม:" /> 
                         </td>
                     <td><asp:TextBox ID="AmountDp" runat="server" CssClass="formInput"></asp:TextBox></td> 
               </tr>
            </table>
            <%--<table>
                <tr>
                    <td align="right" width="150px">
                        แหล่งเงิน :
                    </td>
                    <td align="left" width="300px">--%>
                        <%--<telerik:RadComboBox ID="ddlBgmSourceSeq" runat="server"
                            DataTextField="bgm_source_name" DataValueField="bgm_source_seq"
                            Filter="Contains" Width="280px">
                        </telerik:RadComboBox>--%>
                   <%-- </td>
                    <td align="right" width="50px">
                        ปี :
                    </td>
                    <td align="left">
                        <telerik:RadNumericTextBox ID="txtBgmYear" runat="server"
                            MaxLength="4" MinValue="2500" MaxValue="2600"
                            NumberFormat-DecimalDigits="0" NumberFormat-GroupSizes="5" 
                            ShowSpinButtons="true" Type="Number" />
                    </td>
                </tr>
            </table>--%>
           <%-- <table>
                <tr>
                    <td align="right" width="150px">
                        ตั้งแต่วันที่ :
                    </td>
                    <td align="left" width="300px">
                        <uc1:DatePicker ID="dpDateStart" runat="server" />
                    </td>
                    <td align="right" width="50px">
                        ถึง :
                    </td>
                    <td align="left">
                        <uc1:DatePicker ID="dpDateEnd" runat="server" />
                    </td>
                </tr>
            </table>--%>
        </div>
        <%--<asp:DetailsView ID="DetailsView1" DataKeyNames="asset_id" runat="server" AutoGenerateRows="False"
             Height="50px" Width="125px" OnItemCommand="DetailsView1_ItemCommand"
            BorderWidth="0" CellPadding="0" CellSpacing="7" GridLines="None" >
            <asp: ="FirstName" HeaderText="รหัสครุภัณฑ์" SortExpression="FirstName" />
            <%--<Columns>   
                <telerik:GridBoundColumn DataField="receive_type_seq" 
                HeaderText="receive_type_seq" UniqueName="receive_type_seq" Visible="false" >
                </telerik:GridBoundColumn>
                <asp:BoundField DataField="FirstName" HeaderText="รหัสครุภัณฑ์" SortExpression="FirstName" />
                <asp:BoundField DataField="FirstName" HeaderText="ชื่อรายการครุภัณฑ์" SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="วันเริ่มต้นคิด" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="วันเริ่มต้นคำนวณ" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="วันที่สิ้นสุดการคำนวณ" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ราคาซื้อ" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ราคาที่ใช้คำนวณ" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="วันเริ่มต้นคำนวณ" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ราคาซาก" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ค่าเสื่อมยกมา" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ค่าเสื่อมต่อวัน" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="วันที่ปัจจุบัน" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="Book Value" SortExpression="LastName" />
                <asp:BoundField DataField="LastName" HeaderText="ค่าเสื่อมสะสม" SortExpression="LastName" />--%>

 
           
       <%-- </asp:DetailsView>--%>
    </asp:Panel>                          
 </div>
    </form>
</body>
</html>